package com.atguigu.gmall.mapper;

import com.atguigu.gmall.entiity.DAUPerHour;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: DauMapper
 * @Description:
 * @Author: kele
 * @Date: 2021/3/19 20:46
 **/
@Repository  //自动创建类
public interface DauMapper {


    //    1、当日的日活用户
    Integer getDAUbyDate(String date);

    //    2、新增的设备数
    Integer getMidCountbyDate(String date);

    //    3、每小时的活跃数目
//{"11":383,"12":123,"17":88,"19":200 },
    List<DAUPerHour> getMidCountByHour(String date);

}
